<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String fn = (String) request.getAttribute("fn");
	String ln = (String) request.getAttribute("ln");
	String un = (String) request.getAttribute("un");
	String e = (String) request.getAttribute("e");
	String p = (String) request.getAttribute("p");
	String rp = (String) request.getAttribute("rp");

	String efn = (String) request.getAttribute("efn");
	String eln = (String) request.getAttribute("eln");
	String eun = (String) request.getAttribute("eun");
	String ee = (String) request.getAttribute("ee");
	String ep = (String) request.getAttribute("ep");
	String erp = (String) request.getAttribute("erp");
	fn = (fn == null) ? "" : fn;
	ln = (ln == null) ? "" : ln;
	un = (un == null) ? "" : un;
	e = (e == null) ? "" : e;
	p = (p == null) ? "" : p;
	rp = (rp == null) ? "" : rp;
	efn = (efn == null) ? "*" : efn;
	eln = (eln == null) ? "*" : eln;
	eun = (eun == null) ? "*" : eun;
	ee = (ee == null) ? "*" : ee;
	ep = (ep == null) ? "*" : ep;
	erp = (erp == null) ? "*" : erp;
%>
<title>MYFILM - Register</title>
<jsp:include page="include/header.jsp"></jsp:include>
<jsp:include page="include/slide-show.jsp"></jsp:include>
<div id="content-container">
	<jsp:include page="include/sidebar-a.jsp"></jsp:include>
	<div id="content">
		<form action="Register" method="post">
			<fieldset>
				<legend>Đăng Ký</legend>
				<div>
					<label for="First Name">First Name <span class="required"><%=efn%></span>
					</label> <input type="text" name="first_name" size="20" maxlength="20"
						value="<%=fn%>" tabindex='1' />
				</div>
				<div>
					<label for="Last Name">Last Name <span class="required"><%=eln%></span>
					</label> <input type="text" name="last_name" size="20" maxlength="40"
						value="<%=ln%>" tabindex='2' />
				</div>
				<div>
					<label for="user_name">User Name <span class="required"><%=eln%></span>
					</label> <input type="text" name="user_name" size="20" maxlength="40"
						value="<%=ln%>" tabindex='3' />
				</div>
				<div>
					<label for="email">Email <span class="required"><%=ee%></span>
					</label> <input type="text" name="email" id="email" size="20"
						maxlength="80" value="<%=e%>" tabindex='4' /> <span
						id="available"></span>
				</div>
				<div>
					<label for="password">Password <span class="required"><%=ep%></span></label>
					<input type="password" name="password" size="20" maxlength="20"
						value="<%=p%>" tabindex='5' />
				</div>
				<div>
					<label for="r_password">Confirm Password <span
						class="required"><%=erp%></span>
					</label> <input type="password" name="r_password" size="20" maxlength="20"
						value="<%=rp%>" tabindex='6' />
				</div>
			</fieldset>
			<p>
				<input type="submit" name="submit" value="Register"  tabindex="7"/>
			</p>
		</form>
	</div>
	<!--end content-->
	<jsp:include page="include/sidebar-b.jsp"></jsp:include>
	<jsp:include page="include/footer.jsp"></jsp:include>